# -*- encoding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 8
_modified_time = 1335021423.968
_enable_loop = True
_template_filename = 'D:\\Pylons\\virtualenv\\ve\\Scripts\\CookBook2\\cookbook2\\templates/register.mako'
_template_uri = '/register.mako'
_source_encoding = 'utf-8'
from markupsafe import escape
_exports = ['page']


def _mako_get_namespace(context, name):
    try:
        return context.namespaces[(__name__, name)]
    except KeyError:
        _mako_generate_namespaces(context)
        return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
    pass
def _mako_inherit(template, context):
    _mako_generate_namespaces(context)
    return runtime._inherit_from(context, u'/base.mako', _template_uri)
def render_body(context,**pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        __M_locals = __M_dict_builtin(pageargs=pageargs)
        __M_writer = context.writer()
        # SOURCE LINE 2
        __M_writer(u'\n')
        # SOURCE LINE 17
        __M_writer(u'\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_page(context):
    __M_caller = context.caller_stack._push_frame()
    try:
        url = context.get('url', UNDEFINED)
        h = context.get('h', UNDEFINED)
        __M_writer = context.writer()
        # SOURCE LINE 3
        __M_writer(u'\n\n<div class="post">\n\t<h2>Rejestracja</h2>\n\t<p>\n\t\t')
        # SOURCE LINE 8
        __M_writer(escape(h.form(url(controller='register', action='register'))))
        __M_writer(u'\n\t\t<label>Login: ')
        # SOURCE LINE 9
        __M_writer(escape(h.text('login')))
        __M_writer(u'</label><br>\n\t\t<label>Has\u0142o: ')
        # SOURCE LINE 10
        __M_writer(escape(h.text('pass')))
        __M_writer(u'</label><br>\n\t\t')
        # SOURCE LINE 11
        __M_writer(escape(h.submit('post', 'Zarejestruj')))
        __M_writer(u'\n\t\t')
        # SOURCE LINE 12
        __M_writer(escape(h.end_form()))
        __M_writer(u'\n\t\t\n\t</p>\n</div>\n\t\t\t\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


